Integrand size = 51, antiderivative size = 122 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=i x+\frac {d-2 e+4 f-8 g+16 h-32 i}{12 (2+x)}-\frac {1}{18} (d+e+f+g+h+i) \log (1-x)+\frac {1}{48} (d+2 e+4 f+8 g+16 h+32 i) \log (2-x)+\frac {1}{6} (d-e+f-g+h-i) \log (1+x)-\frac {1}{144} (19 d-26 e+28 f-8 g-80 h+352 i) \log (2+x) \]
[Out]
Time = 0.21 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.039, Rules used = {1600, 6874} \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=\frac {d-2 e+4 f-8 g+16 h-32 i}{12 (x+2)}-\frac {1}{18} \log (1-x) (d+e+f+g+h+i)+\frac {1}{48} \log (2-x) (d+2 e+4 f+8 g+16 h+32 i)+\frac {1}{6} \log (x+1) (d-e+f-g+h-i)-\frac {1}{144} \log (x+2) (19 d-26 e+28 f-8 g-80 h+352 i)+i x \]
[In]
[Out]
Rule 1600
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \frac {d+e x+f x^2+g x^3+h x^4+i x^5}{(2+x)^2 \left (2-x-2 x^2+x^3\right )} \, dx \\ & = \int \left (i+\frac {d+2 e+4 f+8 g+16 h+32 i}{48 (-2+x)}+\frac {-d-e-f-g-h-i}{18 (-1+x)}+\frac {d-e+f-g+h-i}{6 (1+x)}+\frac {-d+2 e-4 f+8 g-16 h+32 i}{12 (2+x)^2}+\frac {-19 d+26 e-28 f+8 g+80 h-352 i}{144 (2+x)}\right ) \, dx \\ & = i x+\frac {d-2 e+4 f-8 g+16 h-32 i}{12 (2+x)}-\frac {1}{18} (d+e+f+g+h+i) \log (1-x)+\frac {1}{48} (d+2 e+4 f+8 g+16 h+32 i) \log (2-x)+\frac {1}{6} (d-e+f-g+h-i) \log (1+x)-\frac {1}{144} (19 d-26 e+28 f-8 g-80 h+352 i) \log (2+x) \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.97 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=\frac {1}{144} \left (144 i x+\frac {12 (d-2 (e-2 f+4 g-8 h+16 i))}{2+x}-8 (d+e+f+g+h+i) \log (1-x)+3 (d+2 e+4 (f+2 g+4 h+8 i)) \log (2-x)+24 (d-e+f-g+h-i) \log (1+x)+(-19 d+26 e-28 f+8 g+80 h-352 i) \log (2+x)\right ) \]
[In]
[Out]
Time = 0.12 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.04
method | result | size |
default | \(i x +\left (\frac {5 h}{9}-\frac {22 i}{9}+\frac {g}{18}-\frac {7 f}{36}+\frac {13 e}{72}-\frac {19 d}{144}\right ) \ln \left (x +2\right )-\frac {-\frac {d}{12}+\frac {e}{6}-\frac {f}{3}+\frac {2 g}{3}-\frac {4 h}{3}+\frac {8 i}{3}}{x +2}+\left (\frac {d}{6}-\frac {e}{6}+\frac {f}{6}-\frac {g}{6}+\frac {h}{6}-\frac {i}{6}\right ) \ln \left (x +1\right )+\left (-\frac {d}{18}-\frac {e}{18}-\frac {f}{18}-\frac {g}{18}-\frac {h}{18}-\frac {i}{18}\right ) \ln \left (x -1\right )+\left (\frac {d}{48}+\frac {e}{24}+\frac {f}{12}+\frac {g}{6}+\frac {h}{3}+\frac {2 i}{3}\right ) \ln \left (x -2\right )\) | \(127\) |
norman | \(\frac {i \,x^{5}+\left (-\frac {4 h}{3}+\frac {20 i}{3}+\frac {2 g}{3}-\frac {f}{3}+\frac {e}{6}-\frac {d}{12}\right ) x +\left (-\frac {23 i}{3}+\frac {4 h}{3}-\frac {2 g}{3}+\frac {f}{3}-\frac {e}{6}+\frac {d}{12}\right ) x^{3}+\left (-\frac {d}{6}+\frac {e}{3}-\frac {2 f}{3}+\frac {4 g}{3}-\frac {8 h}{3}+\frac {16 i}{3}\right ) x^{2}+\frac {8 h}{3}-\frac {16 i}{3}+\frac {d}{6}-\frac {e}{3}+\frac {2 f}{3}-\frac {4 g}{3}}{x^{4}-5 x^{2}+4}+\left (-\frac {d}{18}-\frac {e}{18}-\frac {f}{18}-\frac {g}{18}-\frac {h}{18}-\frac {i}{18}\right ) \ln \left (x -1\right )+\left (\frac {d}{6}-\frac {e}{6}+\frac {f}{6}-\frac {g}{6}+\frac {h}{6}-\frac {i}{6}\right ) \ln \left (x +1\right )+\left (\frac {d}{48}+\frac {e}{24}+\frac {f}{12}+\frac {g}{6}+\frac {h}{3}+\frac {2 i}{3}\right ) \ln \left (x -2\right )+\left (\frac {5 h}{9}-\frac {22 i}{9}+\frac {g}{18}-\frac {7 f}{36}+\frac {13 e}{72}-\frac {19 d}{144}\right ) \ln \left (x +2\right )\) | \(202\) |
risch | \(-\frac {\ln \left (x -1\right ) d}{18}-\frac {\ln \left (x -1\right ) e}{18}-\frac {\ln \left (x +1\right ) i}{6}+\frac {\ln \left (x +1\right ) f}{6}+\frac {\ln \left (2-x \right ) f}{12}+\frac {5 \ln \left (-x -2\right ) h}{9}-\frac {22 \ln \left (-x -2\right ) i}{9}+\frac {d}{12 x +24}+\frac {\ln \left (2-x \right ) d}{48}+\frac {\ln \left (2-x \right ) e}{24}+\frac {\ln \left (x +1\right ) d}{6}-\frac {\ln \left (x +1\right ) e}{6}+\frac {2 \ln \left (2-x \right ) i}{3}-\frac {\ln \left (x +1\right ) g}{6}+\frac {\ln \left (2-x \right ) g}{6}-\frac {\ln \left (x -1\right ) i}{18}-\frac {\ln \left (x -1\right ) g}{18}-\frac {19 \ln \left (-x -2\right ) d}{144}+\frac {13 \ln \left (-x -2\right ) e}{72}-\frac {e}{6 \left (x +2\right )}+\frac {f}{3 x +6}+\frac {4 h}{3 \left (x +2\right )}-\frac {8 i}{3 \left (x +2\right )}-\frac {\ln \left (x -1\right ) f}{18}-\frac {\ln \left (x -1\right ) h}{18}+i x -\frac {2 g}{3 \left (x +2\right )}+\frac {\ln \left (-x -2\right ) g}{18}+\frac {\ln \left (2-x \right ) h}{3}+\frac {\ln \left (x +1\right ) h}{6}-\frac {7 \ln \left (-x -2\right ) f}{36}\) | \(245\) |
parallelrisch | \(\frac {-960 i +48 f -96 g -352 \ln \left (x +2\right ) x i +96 \ln \left (x -2\right ) x i +12 d +192 h -24 e +48 \ln \left (x -2\right ) x h -8 \ln \left (x -1\right ) x h +24 \ln \left (x +1\right ) x h +80 \ln \left (x +2\right ) x h +144 i \,x^{2}+6 \ln \left (x -2\right ) d +12 \ln \left (x -2\right ) e -16 \ln \left (x -1\right ) d -16 \ln \left (x -1\right ) e -48 \ln \left (x +1\right ) i +24 \ln \left (x -2\right ) x g -8 \ln \left (x -1\right ) x g -24 \ln \left (x +1\right ) x g +8 \ln \left (x +2\right ) x g -56 \ln \left (x +2\right ) f +48 \ln \left (x +1\right ) f +26 \ln \left (x +2\right ) x e +6 \ln \left (x -2\right ) x e -8 \ln \left (x -1\right ) x d -8 \ln \left (x -1\right ) x e +24 \ln \left (x +1\right ) x d -24 \ln \left (x +1\right ) x e -19 \ln \left (x +2\right ) x d -38 \ln \left (x +2\right ) d -8 \ln \left (x -1\right ) x i -24 \ln \left (x +1\right ) x i +12 \ln \left (x -2\right ) x f -8 \ln \left (x -1\right ) x f +24 \ln \left (x +1\right ) x f -28 \ln \left (x +2\right ) x f +52 \ln \left (x +2\right ) e +48 \ln \left (x +1\right ) d -48 \ln \left (x +1\right ) e +3 \ln \left (x -2\right ) x d -704 \ln \left (x +2\right ) i -48 \ln \left (x +1\right ) g +16 \ln \left (x +2\right ) g +192 \ln \left (x -2\right ) i -16 \ln \left (x -1\right ) i +48 \ln \left (x -2\right ) g -16 \ln \left (x -1\right ) g +24 \ln \left (x -2\right ) f -16 \ln \left (x -1\right ) f +96 \ln \left (x -2\right ) h -16 \ln \left (x -1\right ) h +48 \ln \left (x +1\right ) h +160 \ln \left (x +2\right ) h}{144 x +288}\) | \(393\) |
[In]
[Out]
none
Time = 19.69 (sec) , antiderivative size = 200, normalized size of antiderivative = 1.64 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=\frac {144 \, i x^{2} + 288 \, i x - {\left ({\left (19 \, d - 26 \, e + 28 \, f - 8 \, g - 80 \, h + 352 \, i\right )} x + 38 \, d - 52 \, e + 56 \, f - 16 \, g - 160 \, h + 704 \, i\right )} \log \left (x + 2\right ) + 24 \, {\left ({\left (d - e + f - g + h - i\right )} x + 2 \, d - 2 \, e + 2 \, f - 2 \, g + 2 \, h - 2 \, i\right )} \log \left (x + 1\right ) - 8 \, {\left ({\left (d + e + f + g + h + i\right )} x + 2 \, d + 2 \, e + 2 \, f + 2 \, g + 2 \, h + 2 \, i\right )} \log \left (x - 1\right ) + 3 \, {\left ({\left (d + 2 \, e + 4 \, f + 8 \, g + 16 \, h + 32 \, i\right )} x + 2 \, d + 4 \, e + 8 \, f + 16 \, g + 32 \, h + 64 \, i\right )} \log \left (x - 2\right ) + 12 \, d - 24 \, e + 48 \, f - 96 \, g + 192 \, h - 384 \, i}{144 \, {\left (x + 2\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 108, normalized size of antiderivative = 0.89 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=i x - \frac {1}{144} \, {\left (19 \, d - 26 \, e + 28 \, f - 8 \, g - 80 \, h + 352 \, i\right )} \log \left (x + 2\right ) + \frac {1}{6} \, {\left (d - e + f - g + h - i\right )} \log \left (x + 1\right ) - \frac {1}{18} \, {\left (d + e + f + g + h + i\right )} \log \left (x - 1\right ) + \frac {1}{48} \, {\left (d + 2 \, e + 4 \, f + 8 \, g + 16 \, h + 32 \, i\right )} \log \left (x - 2\right ) + \frac {d - 2 \, e + 4 \, f - 8 \, g + 16 \, h - 32 \, i}{12 \, {\left (x + 2\right )}} \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 112, normalized size of antiderivative = 0.92 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=i x - \frac {1}{144} \, {\left (19 \, d - 26 \, e + 28 \, f - 8 \, g - 80 \, h + 352 \, i\right )} \log \left ({\left | x + 2 \right |}\right ) + \frac {1}{6} \, {\left (d - e + f - g + h - i\right )} \log \left ({\left | x + 1 \right |}\right ) - \frac {1}{18} \, {\left (d + e + f + g + h + i\right )} \log \left ({\left | x - 1 \right |}\right ) + \frac {1}{48} \, {\left (d + 2 \, e + 4 \, f + 8 \, g + 16 \, h + 32 \, i\right )} \log \left ({\left | x - 2 \right |}\right ) + \frac {d - 2 \, e + 4 \, f - 8 \, g + 16 \, h - 32 \, i}{12 \, {\left (x + 2\right )}} \]
[In]
[Out]
Time = 8.37 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.04 \[ \int \frac {\left (2-x-2 x^2+x^3\right ) \left (d+e x+f x^2+g x^3+h x^4+i x^5\right )}{\left (4-5 x^2+x^4\right )^2} \, dx=i\,x+\frac {\frac {d}{12}-\frac {e}{6}+\frac {f}{3}-\frac {2\,g}{3}+\frac {4\,h}{3}-\frac {8\,i}{3}}{x+2}+\ln \left (x+1\right )\,\left (\frac {d}{6}-\frac {e}{6}+\frac {f}{6}-\frac {g}{6}+\frac {h}{6}-\frac {i}{6}\right )+\ln \left (x-2\right )\,\left (\frac {d}{48}+\frac {e}{24}+\frac {f}{12}+\frac {g}{6}+\frac {h}{3}+\frac {2\,i}{3}\right )-\ln \left (x-1\right )\,\left (\frac {d}{18}+\frac {e}{18}+\frac {f}{18}+\frac {g}{18}+\frac {h}{18}+\frac {i}{18}\right )-\ln \left (x+2\right )\,\left (\frac {19\,d}{144}-\frac {13\,e}{72}+\frac {7\,f}{36}-\frac {g}{18}-\frac {5\,h}{9}+\frac {22\,i}{9}\right ) \]
[In]
[Out]